ahrefs\AhrefsSeo_Vendor\phpseclib\Net\SSH2 D

Total Complexity 668
Dependencies 13
Dependents 1
Total lines 4,290
Lines of code 2,404
Logical lines of code 1,762
Comment lines 1,681
Methods 91
Properties 92

Methods 91

Method Rating Maintainability Complexity Lines of code
_key_exchange()
D
3
106 458
_get_channel_packet()
D
19
64 213
_get_binary_packet()
D
25
44 141
_filter()
D
26
43 135
_login_helper()
D
28
35 127
getServerPublicHostKey()
D
28
30 130
_connect()
C
31 29 103
_keyboard_interactive_process()
C
34 24 89
_encryption_algorithm_to_key_size()
B
47 24 33
_encryption_algorithm_to_crypt_instance()
B
46 21 34
exec()
B
38 18 68
_privatekey_login()
B
35 16 86
_send_binary_packet()
A
41 13 49
setPreferredAlgorithms()
A
44 13 44
_append_log()
A
42 12 54
read()
A
47 12 33
getSupportedEncryptionAlgorithms()
A
43 9 49
_initShell()
A
47 8 37
_generate_identifier()
S
54 7 21
_close_channel()
S
55 6 19
_login()
S
57 6 17
startSubsystem()
S
52 5 25
ping()
S
54 5 21
getLog()
S
59 5 14
login()
S
59 5 13
_format_log()
S
53 4 20
_send_channel_packet()
S
56 4 17
__construct()
S
47 3 28
_define_array()
S
62 4 12
write()
S
62 4 11
_disconnect()
S
61 4 11
_get_open_channel()
S
64 4 9
_bad_algorithm_candidate()
S
66 4 9
_reconnect()
S
62 3 11
_array_intersect_first()
S
67 3 8
_ssh_agent_login()
S
64 3 10
disconnect()
S
71 3 6
_updateLogHistory()
S
70 3 5
_get_interactive_channel()
S
66 3 10
getSupportedKEXAlgorithms()
S
62 2 13
_on_channel_open()
S
75 2 5
getExitStatus()
S
72 2 6
getSupportedCompressionAlgorithms()
S
67 2 8
getLastError()
S
70 2 6
disablePTY()
S
70 2 7
_keyboard_interactive_login()
S
66 2 7
setCryptoEngine()
S
82 1 3
getAlgorithmsNegotiated()
S
69 1 5
getLanguagesServer2Client()
S
78 1 4
getLanguagesClient2Server()
S
78 1 4
getServerAlgorithms()
S
72 1 4
setKeepAlive()
S
82 1 3
getSupportedHostKeyAlgorithms()
S
70 1 8
setTimeout()
S
81 1 3
getSupportedMACAlgorithms()
S
68 1 9
sendKEXINITLast()
S
81 1 3
getCompressionAlgorithmsClient2Server()
S
78 1 4
getBannerMessage()
S
83 1 3
sendKEXINITFirst()
S
81 1 3
sendIdentificationStringLast()
S
81 1 3
getWindowColumns()
S
83 1 3
getWindowRows()
S
83 1 3
setWindowColumns()
S
82 1 3
setWindowRows()
S
82 1 3
setWindowSize()
S
77 1 4
sendIdentificationStringFirst()
S
81 1 3
getCompressionAlgorithmsServer2Client()
S
78 1 4
getMACAlgorithmsServer2Client()
S
78 1 4
isPTYEnabled()
S
83 1 3
isTimeout()
S
83 1 3
enablePTY()
S
81 1 3
isQuietModeEnabled()
S
83 1 3
disableQuietMode()
S
81 1 3
enableQuietMode()
S
81 1 3
_reset_connection()
S
63 1 10
isAuthenticated()
S
80 1 3
_string_shift()
S
72 1 5
isConnected()
S
80 1 3
__destruct()
S
83 1 3
_format_log_helper()
S
76 1 3
getMACAlgorithmsClient2Server()
S
78 1 4
reset()
S
82 1 3
stopSubsystem()
S
73 1 5
getErrors()
S
83 1 3
getStdError()
S
83 1 3
getServerIdentification()
S
78 1 4
getKexAlgorithms()
S
78 1 4
getServerHostKeyAlgorithms()
S
78 1 4
getEncryptionAlgorithmsClient2Server()
S
78 1 4
getEncryptionAlgorithmsServer2Client()
S
78 1 4
getAuthMethodsToContinue()
S
83 1 3